package detailsdb.service.impl;

import detailsdb.dao.DetailsdbDao;
import detailsdb.dao.impl.DetailsdbDaoImpl;
import detailsdb.entity.Detailsdb;
import detailsdb.service.DetailsdbService;

import java.util.List;

public class DetailsdbServiceImpl implements DetailsdbService {
    DetailsdbDao dao=new DetailsdbDaoImpl();

    @Override
    public List<Detailsdb> getList(String ordernumber) {
        return dao.getList(ordernumber);
    }

    @Override
    public int UpDetails(int id) {
        return dao.UpDetails(id);
    }

    @Override
    public int getCount() {
        return dao.getCount();
    }

}
